package com.lam.system.entity.imp;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.lam.common.components.dict.annotation.Dict;
import com.lam.common.validate.annotation.DictValid;

/**
 * 字典配置导入对象 SysDictImp
 * 
 * @author admin
 * @date 2022-09-19
 */

@ColumnWidth(30)
public class SysDictImp {

    /** 字典名称 */
    @ExcelProperty("字典名称")
    private String dictName;
    
    /** 字典编码 */
    @ExcelProperty("字典编码")
    private String dictCode;
    
    /** 描述 */
    @ExcelProperty("描述")
    private String description;
    
    /** 状态 */
    @ExcelProperty("状态")
    @DictValid(message = "无效的状态值")
    @Dict(dictCode = "status_type", reverse = true)
    private String statusDictText;
    
    /** 类型 */
    @ExcelProperty("类型")
    @DictValid(message = "无效的类型")
    @Dict(dictCode = "config_type", reverse = true)
    private String typeDictText;
    
    public void setDictName(String dictName) {
        this.dictName = dictName;
    }

    public String getDictName() {
        return dictName;
    } 
    
    public void setDictCode(String dictCode) {
        this.dictCode = dictCode;
    }

    public String getDictCode() {
        return dictCode;
    } 
    
    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    } 
    
    public void setStatusDictText(String statusDictText) {
        this.statusDictText = statusDictText;
    }

    public String getStatusDictText() {
        return statusDictText;
    }

	public String getTypeDictText() {
		return typeDictText;
	}

	public void setTypeDictText(String typeDictText) {
		this.typeDictText = typeDictText;
	} 
    

}
